<!DOCTYPE html>
<html lang="en">
<head>
	<?php $this->load->view('common/head');?>
	<!-- 本页面所有 -->
    <meta name="keywords" content="特殊教育，家庭，特殊儿童，早期干预，AEPS，个别教育计划，评估">
	<meta name="description" content="七维提供的个人及家庭服务旨在遵循儿童成长规律，掌握个体差异，帮助家长真正做到因材施教，促进儿童能力发展；同时推动家长改善教育方式，系统掌握家庭教育的科学理念与实践方式。">
	<title>七维教育—学术支持</title>
	<!-- 导入自定义字体 -->
	<link rel="stylesheet" href="/assets/css/iconfont.css">
    <script type="text/javascript" src="/assets/js/learning-tabs.js?v=1"></script>
    <style>
        #bannerTip{
            position: absolute;
            left: 20%;
            right: 20%;
            bottom: 15%;
        }
        .banner-tip-title{
            color: white;
            font-weight: bold;
            font-size:30px;
        }
        .banner-tip-content {
            color: white;;
            font-weight: bold;
            font-size: 20px;
            margin-top: 28px;
            margin-bottom: 32px;
        }
        .content{
            padding-top:180px;
            padding-bottom: 20px;
            width: 1200px;
            margin-left:auto;
            margin-right: auto;
        }
        .tab-head-container{
            display: flex;
            flex-direction: row;
            justify-content: center;
            margin-bottom: 160px;
        }
        .tab-head{
            width: 228px;
            height:60px;
            padding-left: 30px;
            padding-right: 30px;
            line-height: 60px;
            font-size: 24px;
            font-weight:bold;
            color: #919191;
            text-align: center;
            cursor: pointer;
            background-color: rgba(243,243,243,1);
        }
        .tab-head:not(.tab-active):hover{
            color: #666;
        }
        .mr-30{
            margin-right: 30px;
        }
        .tab-active{
            color: white;
            background-color: #585858;
        }
        .block-item{
            margin-bottom: 148px;
        }
        .block-title-wrapper{
            display: flex;
            flex-direction: row;
            justify-content: flex-start;
            align-items: flex-start;
            margin-bottom: 40px;
        }
        .block-title-num{
            font-size: 50px;
            font-weight: bold;
            color: #454545;
            margin-right:20px;
        }
        .block-title{
            font-size:22px;
            font-weight: bold;
            color: #454545;
            margin-top: 5px;
        }
        .block-title-line{
            margin-top:28px;
            width: 110px;
            height:2px;
            background-color: #454545;
        }
        .block-desc{
            font-size: 20px;
            color: #919191;
            line-height: 28px;
            margin-bottom: 22px;
        }
    </style>
</head>
<body>
	<div id="header" class="header">
		<?php $this->load->view('common/header');?>	
	</div>
	<div id="app" class="container">
		<div id="fullpage" class="banner">
			<img src="/assets/images/learning.jpg" alt="学术支持">
            <div id="bannerTip">
                <div class="banner-tip-title">
                    {{bannerTipTitle}}
                </div>
                <div class="banner-tip-content">
                    {{bannerTipContent}}
                </div>
            </div>
		</div>
		<div class="content">
            <div class="tab-head-container">
                <div @click="goTab(tabIndex)" v-for="(tab, tabIndex) in tabs" :class="'tab-head '+(tabIndex<(tabs.length-1)?' ':'')+(tabIndex===activeTabIndex?'tab-active ':'')">
                    {{tab.title}}
                </div>
            </div>
            <div v-for="(block, index) in activeTab.blockList" class="block-item">
                <div class="block-title-wrapper">
                    <div class="block-title-num">0{{index+1}}</div>
                    <div>
                        <div class="block-title">{{block.title}}</div>
                        <div class="block-title-line"></div>
                    </div>
                </div>
                <div v-for="desc in block.descList" class="block-desc">{{desc}}</div>
            </div>
		</div>	
	</div>
	<div class="footer">
		<?php $this->load->view('common/footer');?>	
	</div>
	<script>
		$(function () {
			resizeBanner();
			$(window).resize(function() {
  				resizeBanner();
			});

			new Vue({
			    el:'#app',
                data:{
                    bannerTipTitle:"七维学术支持",
                    bannerTipContent:"特殊教育相关的学术支持服务一直是七维的核心竞争力所在，七维提供过的专业学术服务客户样本遍布全国，我们深入了解一线学校发展情况，解决客户需求，与学校共同发展进步，积累了丰富的实践经验。",
                    tabs: window.learningTabs,
                    activeTabIndex: 0,
                },
                computed:{
			        activeTab:function(){
			            return this.tabs[this.activeTabIndex]
                    }
                },
                methods: {
			        goTab:function(index){
			            this.activeTabIndex = index;
                    }
                },
                mounted:function(){

                }
            })

            function resizeBanner () {
                var hHeader = $("#header").height();
                var hDocument = $(window).height();
                var hFullpage = hDocument - hHeader;
                $("#fullpage").height(hFullpage);
            }
		})

	</script>
</body>
</html>
